package com.spark.common.constants;

/**
 * 系统常量信息
 *
 * @author LYCHEE
 * @date 2025/2/14 16:01
 */
public class Constants {

    /**
     * 树数据的key
     */
    public static final String TREE_MODEL_KEY = "model";

    /**
     * 令牌前缀
     */
    public static final String TOKEN_PREFIX = "Bearer ";

    /**
     * 登录用户令牌Key
     */
    public static final String LOGIN_USER_KEY = "login_user_key";

    /**
     * UTF-8 字符集
     */
    public static final String UTF8 = "UTF-8";

    /**
     * GBK 字符集
     */
    public static final String GBK = "GBK";

    /**
     * 登录成功
     */
    public static final Integer LOGIN_SUCCESS = 0;

    /**
     * 登录失败
     */
    public static final Integer LOGIN_FAIL = 1;

    /**
     * 字典翻译文本后缀
     */
    public static final String DICT_TEXT_SUFFIX = "_dictText";
}
